package com.cmc.cloud.cmclink.doc.api.document.rep;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 提单航线船期信息 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 *
 * @author codegen
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BlnoVslvoyBaseRespDto {

    @Schema(description = "提单主信息id", requiredMode = Schema.RequiredMode.REQUIRED, example = "22851")
    private Long blnoId;

    @Schema(description = "航程序号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer routeNo;

    @Schema(description = "船名代码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String vesselCode;

    @Schema(description = "出口航次", requiredMode = Schema.RequiredMode.REQUIRED)
    private String voyageEx;

    @Schema(description = "进口航次", requiredMode = Schema.RequiredMode.REQUIRED)
    private String voyageIm;

    @Schema(description = "装货港代码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String polCode;

    @Schema(description = "卸货港代码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String podCode;

    @Schema(description = "运输模式", requiredMode = Schema.RequiredMode.REQUIRED)
    private String transmode;

    @Schema(description = "出口航线代码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String laneCodeEx;

    @Schema(description = "进口航线代码", requiredMode = Schema.RequiredMode.REQUIRED)
    private String laneCodeIm;

    @Schema(description = "操船方(合作方代码)")
    private String vesselOperator;

    @Schema(description = "指定装货点（从so过来）")
    private String stuffLocEx;

    @Schema(description = "指定卸货堆场（从so过来）")
    private String stuffLocIm;

}
